rank of a matrix by echelon form